CoAuthors\API\Endpoints\CoAuthors_Controller S

Total Complexity 30
Dependencies 5
Dependents 1
Total lines 365
Lines of code 235
Logical lines of code 69
Comment lines 86
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
prepare_item_for_response()
A
44 13 44
get_item_schema()
A
38 4 85
get_item()
S
55 3 21
get_items()
S
56 2 20
register_coauthors_route()
S
53 1 26
register_coauthor_route()
S
53 1 26
is_coauthor()
S
78 2 3
is_guest_author()
S
77 2 3
__construct()
S
81 1 3
register_routes()
S
78 1 4